package sctu.edu.java.year2016.team03.maoyuhao.lianxi.L2;

import java.lang.*;
import java.lang.Thread;

/**
 * Created by cc on 2016/6/6.
 */
public class ThreadTest extends Thread{
        private int count=11;
        public void run(){
            while (true){
                System.out.println(count+" ");
                if(-count==0){
                    return;
                }
            }
        }

        public static void main(String[] args) {
            new ThreadTest().start();
        }

    }

